<?php
class OrdemservicosPecasController extends AppController {

	var $name = 'OrdemservicosPecas';

	function index($os_id = null) {
		$this->OrdemservicosPeca->recursive = 0;
		$this->paginate = array('conditions' => array('OrdemservicosPeca.ordemservico_id' => $os_id));
		$pecas = $this->paginate();
		$this->set('pecas', $pecas);
	}

}
?>